import TauTable from '@/components/TauTable';
import { t } from '@lingui/macro';
import React, { } from 'react';
import { column } from '../stores/definitions';
import { useStore } from '@/hooks';

/**
 *
 * @param {*} param0
 */
function TicketTable({ siteMapping, stationInfo }) {
  const { busOrderStore: store } = useStore();

  return (
    <div>
      <TauTable
        size="small"
        hidePagination
        dataSource={siteMapping}
        primaryKey="id"
        columns={[
          column('companyName', {}),
          column('stationName', {}),
          column('tableKind', {}),
          column('stationId', {}),
          column('addressText', {}),
          column('longLat', {}),
        ]}
      />
    </div>
  );
}

export default TicketTable;
